package com.augurit.gzcgwsp.printDoc.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "YW_PRINT_DOC")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class YwPrintDoc{	
	
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_YW_PRINT_DOC", sequenceName="SEQ_YW_PRINT_DOC", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_YW_PRINT_DOC")
	private Long id;
	
	private String templateCode;
	
	private String fileCode;
	private String fileNum;
	
	private String sendoa;
	
	private Long ywId;//具体业务流程案件的ID
	
	private String path;
	
	private Long tempdocId;//模版文件id
	
	private String creator;//创建人
	
	private Date creatDate; //创建时间
	public Long getTempdocId() {
        return tempdocId;
    }

    public void setTempdocId(Long tempdocId) {
        this.tempdocId = tempdocId;
    }

    public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTemplateCode() {
		return templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}


	public String getFileCode() {
		return fileCode;
	}

	public void setFileCode(String fileCode) {
		this.fileCode = fileCode;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Long getYwId() {
		return ywId;
	}

	public void setYwId(Long ywId) {
		this.ywId = ywId;
	}

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreatDate() {
        return creatDate;
    }

    public void setCreatDate(Date creatDate) {
        this.creatDate = creatDate;
    }

	public String getSendoa() {
		return sendoa;
	}

	public void setSendoa(String sendoa) {
		this.sendoa = sendoa;
	}

	public String getFileNum() {
		return fileNum;
	}

	public void setFileNum(String fileNum) {
		this.fileNum = fileNum;
	}

	
}